﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace HZ.DrugTrade.Web.Admin.RelationQuery
{
    public partial class CheckReasonMS : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.QueryString["areaid"] != null && Request.QueryString["comid"]!=null)
            {
                string areaId = Request.QueryString["areaid"].ToString();
                string comId = Request.QueryString["comid"].ToString();
                this.lblReason.Text = HZ.DrugTrade.BLLFactory.Factory.BLL_Company().GetReason(comId, areaId);
            }
            else
            {
                this.Controls.Add(new LiteralControl("<script>alert('参数错误');window.close();</script>"));
            }
        }
    }
}
